* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  background-color: #ddd !important;
}

#image-container {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#image-container.finished {
  display: block !important;
  text-align: center;
  background-color: transparent;
}

#image-container.finished h2,
#image-container.finished h3 {
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#current-image {
  height: 70vh;
  width: 80vw;
  object-fit: contain;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.scale-container {
  margin: 10px 0;
  text-align: center;
  max-width: 800px;
}

.scale-label {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #336;
  width: 100%;
  text-align: center;
}

.scale-label b {
  color: #ae4504;
}

.scale-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.scale-endpoint {
  font-size: 14px;
  font-weight: bold;
}

.scale-low {
  color: #000080; /* Navy */
}

.scale-high {
  color: #8b0000; /* Dark red */
}

.likert-scale {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.likert-box {
  width: 50px;
  height: 50px;
  padding: 5px;
  border: 2px solid #888;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  background-color: white;
  color: #333;
  transition: background-color 0.3s;
}

.likert-box:hover {
  background-color: #e0e0e0;
}

.likert-box.selected {
  background-color: #4caf50;
  color: white;
}

#progress {
  margin-top: 20px;
  width: 600px;
}

#progress-bar-container {
  width: 100%;
  height: 30px;
  background-color: white;
  border: 2px solid #0066a1;
  overflow: hidden;
}

#progress-bar {
  height: 100%;
  background-color: #0066a1;
  width: 0%;
  transition: width 0.3s ease;
}

.scales-and-timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.scales-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 478px;
  position: relative;
}

#countdown-timer {
  position: absolute;
  right: -120px;
  bottom: 0;
  font-size: 48px;
  font-weight: bold;
  color: #333;
  width: 100px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  margin-bottom: 4px;
}

#countdown-timer.warning {
  color: #ff6b6b;
}

#pause-button {
  position: absolute;
  right: -240px;
  bottom: 0;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: bold;
  background-color: #0066a1;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  height: 64px;
}

#pause-button:hover {
  background-color: #004d7a;
}

#pause-button.paused {
  background-color: #ff9800;
}

#pause-button.paused:hover {
  background-color: #e68900;
}

#start-button-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #eee;
  z-index: 9999;
}

.start-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 800px;
  padding: 20px;
}

.start-question {
  font-size: 28px;
  text-align: center;
  color: #333;
  line-height: 1.5;
  width: 80%;
}

.question-text {
  font-weight: bold;
  color: #000080; /* Navy */
}

.question-text b {
  color: #ae4504;
}

.rating-scale {
  font-size: 25px;
  color: #666;
}

#start-button {
  font-size: 24px;
  padding: 20px 40px;
  background-color: #0066a1;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

#start-button:hover {
  background-color: #004d7a;
}

.tb_turn_on.js-turn-on-builder {
  display: none;
}
